<?php
// Load Header
$this->pageTitle = __("Kết quả tìm kiếm", true);

// Load CSS
echo $this->Html->css('news_page');

// Load Javascript
//echo $this->Html->script('common.news');

?>

<?php $category_alias = 'news';?>
<h2 class="title_favourite_tour"><?php __("Kết quả tìm kiếm")?></h2>
<ul class="list_news">
	<?php foreach (${$models['Page']['plugin']} as $item):?>
	<li>
		<div class="frame_img">
			<img src="<?php echo $html->url('/').'files/'.$models['Page']['plugin'].'/'.$html->getThumbnailName($item[$models['Page']['name']]['image'])?>"/>
		</div>
		<a class="title_news" href="<?php echo $html->url(array('plugin' => $models['Page']['plugin'], 'controller' => $models['Page']['plugin'], 'action' => 'view', $item[$models['Page']['name']]['alias'], $category_alias));?>"><?php echo $item[$models['Page']['name']]['title']?></a>
		<p><?php echo strip_tags($item[$models['Page']['name']]['description'])?></p>
		<a class="read_more" href="<?php echo $html->url(array('plugin' => $models['Page']['plugin'], 'controller' => $models['Page']['plugin'], 'action' => 'view', $item[$models['Page']['name']]['alias'], $category_alias));?>"><?php __("Xem tiếp")?></a>
	</li>
	<?php endforeach;?>
</ul>
<?php echo $this->element('pagination/pagination', array('model' => $models['Page']['name']));?>

